/*
 * Arrays1.cpp
 *
 *  Created on: Feb 2, 2013
 *      Author: w1084063
 */

#include <iostream>
using namespace std;

int sum(int a[], int size);
const int SIZE = 3;

int main(void){
	cout << "Arrays " << endl;

	int a[SIZE];

	for (int i=0; i<SIZE; i++){
		cout << a[i] << endl;
	}

	int total = sum( a, SIZE );
	cout << "Total is " << total << endl;
}
